<div id="basicListing">
<h1>New task</h1>

<% form_for(@task) do |f| %>
  <%= render :partial => 'form', :locals => { :f => f, :label_text => "Create", :eventList => Event.find(:all)} %>
<% end %>

<%= link_to 'Back', :controller => :home, :action => :index %>
</div>
